package msu.ml.data.level2;

public class ReflectivityDataProvider implements IRayDataProvider
{
   private Ray ray;
   public ReflectivityDataProvider(Ray ray) {this.ray = ray;}
   public IRayDataProvider createForRay(Ray ray) { return new ReflectivityDataProvider(ray); }
   public double [] getData() {return ray.getReflectivityData();} 
   public int getGateSize() {return ray.getReflectivityGateSize();}
   public double getDatum(int index) {return ray.getReflectivity(index);}
   public void setDatum(int index, double value){ray.setReflectivity(index, value);}
}

